package cn.jzq.kotoba.modules.designpattern.demo.demo1;

public class Duckcall {
    private QuackBehavior quackBehavior;

    public Duckcall() {
        quackBehavior = new Quack();
    }

    public void performQuack() {
        quackBehavior.quack();
    }

    public void setQuackBehavior(QuackBehavior quackBehavior) {
        this.quackBehavior = quackBehavior;
    }
}
